<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>初体验 Vue——Global</title>
</head>
<body>
<div id="app">
  <h1>{{ info }}</h1>
</div>

<!--引入 vue 文件-->
<script src="../../../js/vue.global.js"></script>

<script>
    let {createApp} = Vue;

    let app = createApp(
        {
            setup(){
                let info = "Hello, World!";
                return {
                    info
                }
            }
        }
    );

    app.mount("#app")

</script>
</body>
</html>